<h3> Plugin Management </h3>

<table border="0">

<?= form_open('admin/plugins/change_status') ?>
	<tr>
		<th>Name</th><th>Enabled</th><th>Description</th><th>Configure</th><th>Delete</th>
	</tr>
	<? foreach($plugins as $plugin): ?>
	<tr>
		<td><?= $plugin['name'] ?></td>
		<td style="text-align: center;"><?= form_checkbox($plugin['name'], 'enabled', $plugin['enabled']) ?></td>
		<td><?= $plugin['description'] ?></td>
		<td style="text-align: center;">
			<? if($plugin['config']): ?>
				<?= anchor('admin/plugins/configure/'.$plugin['name'], 'Configure') ?>
			<? else: ?>
				----
			<? endif; ?>
		</td>
		<td style="text-align: center;">
			<?= anchor('admin/plugins/remove/'.$plugin['name'], 'X', array('class' => 'admin')) ?>
		</td>
	</tr>
	<? endforeach; ?>
	<tr>
		<td><input type="submit" value="Change"></td>
	</tr>
<?= form_close() ?>

</table>

<p style="color: #090;">Disabled plugins cannot be configured.<br/>Not all plugins support configuration.</p>